package org.example.jedis.pubsub;

import redis.clients.jedis.Jedis;

/**
 * @author kylin
 * @date 2020/4/18
 */
public class PublishTest {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.165.7", 6379);
        jedis.publish("qilou-123", "666");
        jedis.publish("qilou-abc", "zhangsnazhiliu");
    }
}
